package charpter06;

/**
 * Created by Miracle yaochengwei on 2022/4/23 17:08
 */
public class qqq {
    public static void main(String[] args){
        StringBuffer a = new StringBuffer("A");
        StringBuffer b = new StringBuffer("B");
                change(a, b);
        System.out.println(a + "," + b);}

    static void change(StringBuffer x,StringBuffer y) {
        y.append(x);
        y = x;
    }
}
